package com.meimeixia.pattern.factory.before;

/**
 * 咖啡类
 * @author: t-zhijiang.zhao
 * @date: 2024/11/26 上午11:13
 */
public abstract class Coffee {
    public abstract String getName();
    //加糖
    public void addSugar() {
        System.out.println("加糖");
    }

    //加奶
    public void addMilk(){
        System.out.println("加奶");
    }
}
